package com.peanut.order.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.peanut.common.pojo.Car;
import com.peanut.common.pojo.Order;

public interface OrderMapper {

	Order selectByProduct(Order order);

	void addTime(Order order);

	void reducecardeposit(Car car);

	Car selectByCarId(String carId);

	void updatecarState(Car car);

	List<Order> queryOrder(String userId);
	
	void updateOrder(Order order);

	void updateorderreturnYn(Order order);
	
	void updateCarState(Car car);
	void updateCarCount(Car car);
	void insertOneOrder(Order order);
	void delOneCarFromOrderById(Order order);

}
